package com.heima.xxljob.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

/**
 * @author 谢金成
 * @date 2024/4/27 15:39
 */
@Component
public class HelloJob {

    @XxlJob("demoJobHandler")
    public void helloJob() {
        System.out.println("简单任务执行了....");
    }
}
